package com.xxx.ssm.baem;



public class Dog {
    private String name;

    @Override
    public String toString() {
        return "Dog{" +
                "name='" + name + '\'' +
                '}';
    }

    public Dog(String name) {
        this.name = name;
    }

    public void say(){
        System.out.println("say.............");


    }
    public void eg(){
        System.out.println("eg...........");
    }


}
